package com.wk.code.wkserver.utils;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.util.Date;

/**
 * @author: wangqiang
 * @create: 2021-08-27 16:20
 */
public class MoneyUtils {

    /**
     * bigDecimal2Str
     *
     * @param bigDecimal bigDecimal
     * @return String
     */
    public static String bigDecimal2Str(BigDecimal bigDecimal) {
        return bigDecimal.stripTrailingZeros().toPlainString();
    }

}
